\hypertarget{structnih_1_1_gaussian__generator}{
\section{nih\-:\-:\-Gaussian\-\_\-generator \-Struct \-Reference}
\label{structnih_1_1_gaussian__generator}\index{nih\-::\-Gaussian\-\_\-generator@{nih\-::\-Gaussian\-\_\-generator}}
}


{\ttfamily \#include $<$distributions.\-h$>$}

\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E \hyperlink{structnih_1_1_gaussian__generator_a9b55397f76ed303fd87af98398e8683d}{\-Gaussian\-\_\-generator} (const float sigma)
\item 
{\footnotesize template$<$typename Generator $>$ }\\\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float \hyperlink{structnih_1_1_gaussian__generator_ad30a0b8d00bfdb7729a14387b68779f2}{next} (\-Generator \&random)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float \hyperlink{structnih_1_1_gaussian__generator_ad610749fa56473e8ffa9c7a99fdd14dd}{density} (const float x) const 
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Wrapper class to generate \-Gaussian distributed numbers out of a uniform random number generator 

\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{structnih_1_1_gaussian__generator_a9b55397f76ed303fd87af98398e8683d}{
\index{nih\-::\-Gaussian\-\_\-generator@{nih\-::\-Gaussian\-\_\-generator}!\-Gaussian\-\_\-generator@{\-Gaussian\-\_\-generator}}
\index{\-Gaussian\-\_\-generator@{\-Gaussian\-\_\-generator}!nih::Gaussian_generator@{nih\-::\-Gaussian\-\_\-generator}}
\subsubsection[{\-Gaussian\-\_\-generator}]{\setlength{\rightskip}{0pt plus 5cm}\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E nih\-::\-Gaussian\-\_\-generator\-::\-Gaussian\-\_\-generator (
\begin{DoxyParamCaption}
\item[{const float}]{sigma}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_gaussian__generator_a9b55397f76ed303fd87af98398e8683d}
constructor


\begin{DoxyParams}{\-Parameters}
{\em sigma} & variance \\
\hline
\end{DoxyParams}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{structnih_1_1_gaussian__generator_ad610749fa56473e8ffa9c7a99fdd14dd}{
\index{nih\-::\-Gaussian\-\_\-generator@{nih\-::\-Gaussian\-\_\-generator}!density@{density}}
\index{density@{density}!nih::Gaussian_generator@{nih\-::\-Gaussian\-\_\-generator}}
\subsubsection[{density}]{\setlength{\rightskip}{0pt plus 5cm}\-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float nih\-::\-Gaussian\-\_\-generator\-::density (
\begin{DoxyParamCaption}
\item[{const float}]{x}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_gaussian__generator_ad610749fa56473e8ffa9c7a99fdd14dd}
probability density function


\begin{DoxyParams}{\-Parameters}
{\em x} & sample location \\
\hline
\end{DoxyParams}
\hypertarget{structnih_1_1_gaussian__generator_ad30a0b8d00bfdb7729a14387b68779f2}{
\index{nih\-::\-Gaussian\-\_\-generator@{nih\-::\-Gaussian\-\_\-generator}!next@{next}}
\index{next@{next}!nih::Gaussian_generator@{nih\-::\-Gaussian\-\_\-generator}}
\subsubsection[{next}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Generator $>$ \-N\-I\-H\-\_\-\-H\-O\-S\-T\-\_\-\-D\-E\-V\-I\-C\-E float nih\-::\-Gaussian\-\_\-generator\-::next (
\begin{DoxyParamCaption}
\item[{\-Generator \&}]{random}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{structnih_1_1_gaussian__generator_ad30a0b8d00bfdb7729a14387b68779f2}
return the next number in the sequence


\begin{DoxyParams}{\-Parameters}
{\em random} & random number generator \\
\hline
\end{DoxyParams}


\-The documentation for this struct was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
sampling/\hyperlink{distributions_8h}{distributions.\-h}\end{DoxyCompactItemize}
